package com.itsm.xkitsm.liferoot.life.weather;

import android.os.Parcel;
import android.os.Parcelable;

public class WeatherEnty implements Parcelable {
	private String  date;//": "20170913",
	private String message;//": "Success !",
	private String 		status;//": 200,
	private String 		city;//": "西青",
	private String 		count;//": 1,
	private String 		data;//"

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.date);
        dest.writeString(this.message);
        dest.writeString(this.status);
        dest.writeString(this.city);
        dest.writeString(this.count);
        dest.writeString(this.data);
    }

    public WeatherEnty() {
    }

    protected WeatherEnty(Parcel in) {
        this.date = in.readString();
        this.message = in.readString();
        this.status = in.readString();
        this.city = in.readString();
        this.count = in.readString();
        this.data = in.readString();
    }

    public static final Creator<WeatherEnty> CREATOR = new Creator<WeatherEnty>() {
        @Override
        public WeatherEnty createFromParcel(Parcel source) {
            return new WeatherEnty(source);
        }

        @Override
        public WeatherEnty[] newArray(int size) {
            return new WeatherEnty[size];
        }
    };
}
